using System.Linq;

namespace Core.Domain.Interfaces
{
  ///<summary></summary>
  public interface IPersistanceRepository
  {
    T Get<T>(int id);
    void Save<T>(T entity);
    IQueryable<T> Query<T>();
  }
}